package com.daniel.cms.utils;

import lombok.Getter;

/**
 * 详细说明
 *
 * @author Daniel
 * @version V1.0
 * @date 2020/5/22 15:54
 */
@Getter
public enum ResultEnum {

	SUCCESS(1000, "响应成功"),

	FAILED(1001, "响应失败"),

	VALID(1002, "参数校验失败"),

	ERROR(5000, "运行异常");

	private int code;
	private String msg;

	ResultEnum(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}
}
